<%@page import="com.baozun.model.TContact"%>
<%@page import="com.baozun.util.PageData"%>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td height="34" class="center">
			共有
			<%=infoList.getTotalRecords()%>
			&nbsp;条记录 &nbsp; 页次:
			<%=currPage > infoList.getPages() ? infoList.getPages() : currPage%>/<%=infoList.getPages()%>
			页 &nbsp;
		</td>
		<td>
			<!-- 第1页 -->
			<a href="javascript:pagechange('1')"><span
				class="">首页</span> </a>
			<!-- 上一页 -->
			<%
				int pageUp = (currPage == 1 ? 1 : currPage - 1);
			%>
			<a href="javascript:pagechange('<%=pageUp%>')"><span>前一页</span> </a>
			<!-- 下一页 -->
			<%
				int pageDown = (currPage == infoList.getPages() ? currPage : currPage + 1);
			%>
			<a href="javascript:pagechange('<%=pageDown%>')"><span>后一页</span> </a>
			<!-- 最末页 -->
			<a href="javascript:pagechange('<%=infoList.getPages()%>')"><span>尾页</span> </a>&nbsp;
		</td>
		<td>
			&nbsp; 转到第:
			<input type="text" id="gopage" name="gopage" style="width:40px;line-height:30px;padding:3px 2px;" value="" />
			页
			<span name="clk" style="cursor: pointer;" class="label label-xlg label-pink arrowed-right"
				onclick="if(parseInt(gopage.value) != parseFloat(gopage.value) || isNaN(gopage.value)){alert('请输入整数！');}else{pagechange(gopage.value);}">go </span>
			&nbsp;
		</td>
	</tr>
</table>
